package cn.linter.oasys.user.dao;

import cn.linter.oasys.user.entity.Flow;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName: FlowDao
 * @Description:
 * @author: WangZe
 * @date: 2022/4/12 16:55
 */
@Mapper
public interface FlowDao {

    int save(Flow flow);

    List<Flow> selectByTaskId(String taskId);


    void update(Flow flow);

    List<Flow> findBySendUser(String userName);

    List<Flow> findByApplyUser(String userName);

    void delete(String taskId, String processId);
}
